package com.milk.service.admin.dao;

import java.util.List;
import java.util.Map;

import com.milk.model.entity.admin.Role;


public interface RoleDao {

	void save(Role role);
	
	int update(Role role);
	
	int delete(long roleId);
	
	List<Role> query(Map<String,Object> params);
	
	Role findByMap(Map<String,Object> params);
}
